export default {
  get (url) {
    return new Promise((resolve, reject) => {
      if (url === '/user') {
        resolve({ user: 'webyouxuan' })
      } else if (url === '/list') {
        resolve(['香蕉', '苹果'])
      }
    })
  }
}